﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Nop.Core.Domain.Localization;

namespace Nop.Core.Domain.Hotel
{
    /// <summary>
    /// Room type
    /// </summary>
    public class RoomType : BaseEntity, ILocalizedEntity
    {
        private ICollection<RoomTypePicture> _roomTypePicture;
        private ICollection<RoomTypeLocalized> _roomTypeLocalized;

        /// <summary>
        /// Name of type room
        /// </summary>
        public virtual string TypeName { get; set; }

        /// <summary>
        /// Descriptrion default
        /// </summary>
        public virtual string TypeDescription { get; set; }

        /// <summary>
        /// Price default
        /// </summary>
        public virtual decimal? Price { get; set; }

        /// <summary>
        /// Gets or sets the product pictures
        /// </summary>
        public virtual ICollection<RoomTypePicture> RoomTypePicture
        {
            get { return _roomTypePicture ?? (_roomTypePicture = new List<RoomTypePicture>()); }
            protected set { _roomTypePicture = value; }
        }

        /// <summary>
        /// Gets or sets the product pictures
        /// </summary>
        public virtual ICollection<RoomTypeLocalized> RoomTypeLocalized
        {
            get { return _roomTypeLocalized ?? (_roomTypeLocalized = new List<RoomTypeLocalized>()); }
            protected set { _roomTypeLocalized = value; }
        }
    }
}
